#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2018/11/19 23:35
@desc
"""

import re


TAB_PREFIX = "t_"


p = re.compile(r'(?P<folder>(%s))(?P<tablename>\w+)' % TAB_PREFIX)


table_name = "t_atom_show_css"


def getRealTableName(m):
    d = m.groupdict()
    return d['tablename']


def getTableName(table_name):
    return p.sub(getRealTableName, table_name)


print(getTableName(table_name))

